<?php

include_once "../config.php";

$id = $_GET['id'];

$sql = "delete from wish where id='$id'";
$result = $conn->query($sql);

header("location:index.php?");
